package tech.aistar.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;


//Spring基础
@RestController
public class HelloController {

    /**
     * 资源时包括运行在服务器端的程序的
     * 浏览器: localhost:8088/hello
     * @return
     */
    @GetMapping("/hello")
    public String hello(){
        return "hello world";
    }
}
